package com.bw.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 小怪兽
 * @version 1.0
 * @description: TODO
 * @date 2022/1/6 8:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user")
public class User {
    @TableId(value = "uid",type = IdType.AUTO)
    private Integer uid;
    private String name;
    private String password;
    private String tel;
    @TableField(exist = false)
    private String ucode;
    @TableField(exist = false)
    private String newpassword;
}
